package c.c.b.b.f;

import java.util.Map;

/* compiled from: Response */
public class p<T> {
    public final T a;
    public final c.c.b.b.i.b.a b;
    public final c.c.b.b.h.a c;
    public boolean d;
    public long e;
    public long f;
    public Map<String, Object> g;
    public long h;

    /* compiled from: Response */
    public interface a<T> {
        void a(p<T> pVar);

        void b(p<T> pVar);
    }

    public p(T t, c.c.b.b.i.b.a aVar) {
        this.d = false;
        this.e = 0;
        this.f = 0;
        this.h = 0;
        this.a = t;
        this.b = aVar;
        this.c = null;
        if (aVar != null) {
            this.h = (long) aVar.a;
        }
    }

    public boolean a() {
        return this.c == null;
    }

    public p(c.c.b.b.h.a aVar) {
        this.d = false;
        this.e = 0;
        this.f = 0;
        this.h = 0;
        this.a = null;
        this.b = null;
        this.c = aVar;
        if (0 == 0 && aVar != null) {
            m mVar = aVar.a;
            if (mVar != null) {
                this.h = (long) mVar.a;
            }
        }
    }
}
